package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 客户跟踪对象 biz_customer_shadow_info
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2022-08-06
 */
@Data
public class CustomerShadowInfo extends BaseEntity<CustomerShadowInfo> {
    private static final long serialVersionUID = 1L;


    /**
     * 客户ID
     */
    private String customerId;
    private String progress;

    private String name;
    private String phone;
    /**
     * 记录内容
     */
    @Excel(name = "记录内容")
    private String takes;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String images;

    /**
     * 附件
     */
    @Excel(name = "附件")
    private String files;

    /**
     * 是否标记
     */
    @Excel(name = "是否标记")
    private Integer mark;

    /**
     * 重要级别
     */
    @Excel(name = "重要级别", dictType = "customer_lianxi_level")
    private String level;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式", dictType = "customer_lianxi_type")
    private String ideasType;


    /**
     * 下次跟进时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下次跟进时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date nextTime;

    /**
     * 下次跟进时间开始
     */
    private String beginNextTime;

    /**
     * 下次跟进时间结束
     */
    private String endNextTime;
    /**
     * 排序
     */
    private Integer sort;

    /**
     * 状态（0正常 1 停用）
     */
    private String status;
    /**
     * 是否上门
     */
    private String isToHome;
    /**
     * 上门时间
     */
    private String toHomeTime;
    private String isTohome;

    private Integer xiezu;

    private Integer pinglunCounts;

    private String companyNames;

    private Integer isSms;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setTakes(String takes) {
        this.takes = takes;
    }

    public String getTakes() {
        return takes;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getImages() {
        return images;
    }

    public void setFiles(String files) {
        this.files = files;
    }

    public String getFiles() {
        return files;
    }

    public void setMark(Integer mark) {
        this.mark = mark;
    }

    public Integer getMark() {
        return mark;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLevel() {
        return level;
    }

    public void setIdeasType(String ideasType) {
        this.ideasType = ideasType;
    }

    public String getIdeasType() {
        return ideasType;
    }

    public void setNextTime(Date nextTime) {
        this.nextTime = nextTime;
    }

    public Date getNextTime() {
        return nextTime;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("userId", getUserId()).append("deptId"
                , getDeptId()).append("userName", getUserName()).append("deptName", getDeptName()).append("companyId"
                , getCompanyId()).append("customerId", getCustomerId()).append("takes", getTakes()).append("images",
                getImages()).append("files", getFiles()).append("mark", getMark()).append("level", getLevel()).append("ideasType", getIdeasType()).append("nextTime", getNextTime()).append("sort", getSort()).append("status", getStatus()).append("remark", getRemark()).append("id", getId()).append("createBy", getCreateBy()).append("createDept", getCreateDept()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("updateIp", getUpdateIp()).append("version", getVersion()).append("delFlag", getDelFlag()).toString();
    }
}
